package lesson1;

public class Demo1 {
    public static void main(String[] args) {
//        int num1 = 0b01101010;
//        int num2 = 100;
//        int num3 = 012345670;
//        int num4 = 0xabcdef;

        double d1 = 100;
        double d2 = 30;
        System.out.println(d1/d2);

        //三木运算符格式
        //(逻辑表达式)?value1:value2;
    /*    boolean flag = 100<200?true:false;*/
        //计算两个数中的最大值
        int num1 = 200;
        int num2 = 200;

        int max = num1>num2?num1:num2;
        System.out.println(max);




    }
}
